/**
 * Email ：huangyijia138@qq.com
 * Des：
 *
 * @description: 波列那数
 * @author: huangjiajia
 * @create: 2025-01-18 13:33
 **/
public class HomeWork01181 {

    public static void main(String[] args) {
        int n = 6;
        int total = rabblit(n);
        System.out.println();
        System.out.println(n + "月的时候兔子总对数"+total);
    }

    public static int rabblit(int n) {

        if(n == 1 || n == 2){
            return 1;
        }
        return rabblit(n + 1) + rabblit(n + 2);

    }
}
